package test00.tx02;

public class SumUtil {
    public static int sum(@Max(1000) int n) {
        int s = 0;
        for (int i = 0; i <= n; i++) {
            s += i;
        }
        return s;
    }
}
